﻿@using MvcContrib.UI.Grid
@model IEnumerable<MyPetShop.Service.ValueObject.ItemInfo>
@{
    ViewBag.Title = "Items";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="ym-wrapper">
    <h2>Items</h2>
    @Html.Grid(Model).Columns(column => {
    	column.For(item => Html.ActionLink(item.ItemID,"Index","Item",new {area="ItemSelect",Item=item.ItemID},null)).Named("ItemID");
    	column.For(item => item.Description);
    	column.For(item => item.ListPrice);
    })
</div>
